﻿@model WebChat.Models.Chatroom

@{
    ViewBag.Title = "Room";
}

<h2>Room</h2>

<fieldset>
    <legend>Chatroom</legend>

    <div class="display-label">IsPublic</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsPublic)
    </div>

    <div class="display-label">OwnerId</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.OwnerId)
    </div>

    <div class="display-label">MaximumUsers</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.MaximumUsers)
    </div>
</fieldset>
<p>
   
    @Html.ActionLink("Back to List", "Index")
</p>
